const heart = document.querySelector(".heart");

for(let i=36;i>0;i--){
    let div = document.createElement('div');
    div.className = 'rib';
    div.style.transform = `rotateY(${10*i}deg)  rotateZ(45deg) translateX(90px)`;
    heart.appendChild(div);
}